<?php 
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');
?> 
<script type="text/javascript" src="<?php echo JS_PATH?>menu_tree.js"></script>
<body onload="menu_tree()"> 
<div class="main_head">
		<span class="main_head_title">设置《<?php echo $rolename?>》</span>	
</div>
<div class="main_wraper">
<form name="myform" action="?m=admin&c=role&a=role_priv" method="post">
<input type="hidden" name="roleid" value="<?php echo $roleid?>"></input>
<input type="hidden" name="rolename" value="<?php echo $rolename?>"></input>
<table border="0" cellpadding="0" cellspacing="0" class="main_table">
	<thead>
		<tr class="main_table_header">
			<th width="30%">菜单名称</th>					
		</tr>
	</thead>
	<tbody id = "main_tbody">
		<?php echo $categorys?>
	</tbody>
</table>
<div class="txt_btn">
	<input name="dosubmit" type="submit" class="txt_btn_a" value=" 保存 " />
</div>
</form>
</div>

</body>
</html>